package com.itheima.pojo;

import java.io.Serializable;

public class Address implements Serializable {
    private Integer id;//主键
    private String address_detail;//地址
    private String name;//机构名字
    private String longitude;//经度
    private String latitude;//纬度

    public Address() {
    }

    @Override
    public String toString() {
        return "Address{" +
                "id=" + id +
                ", address_detail='" + address_detail + '\'' +
                ", name='" + name + '\'' +
                ", longitude='" + longitude + '\'' +
                ", latitude='" + latitude + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAddress_detail() {
        return address_detail;
    }

    public void setAddress_detail(String address_detail) {
        this.address_detail = address_detail;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public Address(Integer id, String address_detail, String name, String longitude, String latitude) {
        this.id = id;
        this.address_detail = address_detail;
        this.name = name;
        this.longitude = longitude;
        this.latitude = latitude;
    }
}
